package pattern.structrual.facade;

/**
 * 门面模式：应用层只需要和外观类通信，外观内只负责和子系统通信
 *
 * @Author Gavin
 * @date 2020.07.16 12:18
 */
public class test {
    public static void main(String[] args) {
        GiftExchangeServiceFacade giftExchangeServiceFacde = new GiftExchangeServiceFacade();
        PointGift pointGift = new PointGift("衣服积分");
        giftExchangeServiceFacde.giftExchange(pointGift);
    }
}
